package com.bjbn.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "获取告警请求")
public class LbsAlarmsRequest {
    @Schema(description = "起始位置", example = "0")
    private Integer offset;
    @Schema(description = "返回行数", example = "10")
    private Integer limit;
    @Schema(description = "排序顺序", example = "DESC")
    private String order;
    @Schema(description = "排序字段", example = "id")
    private String sort;
    @Schema(description = "指定id列表", example = "1,2,3")
    private String ids;
    @Schema(description = "指定相关对象Id列表", example = "1,2,3")
    private String relatedIds;
    @Schema(description = "指定定位对象id列表", example = "1,2,3")
    private String trackableIds;
    @Schema(description = "标签id", example = "1,2,3")
    private String labelIds;
    @Schema(description = "指定类型id列表", example = "1,2,3")
    private String typeIds;
    @Schema(description = "开始时间，格式：时间戳", example = "1640966400000")
    private String startTime;
    @Schema(description = "结束时间，格式：时间戳", example = "1640966400000")
    private String endTime;
    @Schema(description = "空间id", example = "1")
    private Integer spaceId;
    @Schema(description = "楼层", example = "1")
    private Integer floor;
    @Schema(description = "地图id", example = "1")
    private Integer mapId;
    @Schema(description = "是否激活", example = "true")
    private Boolean isActive;
    @Schema(description = "时间筛选规则", example = "END")
    private String rule;
}
